package pritace

import "fmt"

func testArr()  {

	array1 := [...]string{"hello", "bob", "test"}

	for k, v := range array1 {
		fmt.Println(k, v)
	}
	s := "abcd"
	charArr := make([]string, 0)
	charArr = append(charArr, s)
	fmt.Println(charArr)
}

func ArrayValue() {
	arr1 := []int{1, 2, 3, 4, 5}

	arr2 := arr1
	arr2[0] = 9

	fmt.Println(arr1, arr2)
}
